.home-page {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: #202d36;
    color: #fff;
    transition: all .3s;
    padding-top: 124px;

    .header {
        width: 100%;
        height: 80px;
        background-color: #2b3743;
        box-shadow: 0 4px 4px rgba(1, 1, 1, .3);
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99;
    }

    .nav-title {
        font-size: 25px;
        font-weight: blod;
    }

    .moon {
        width: 17px;
        height: 15px;
        margin-right: 10px;
    }

    .mode-btn {
        cursor: pointer;
    }

    .arrow-icon {
        width: 9px;
        height: 5px;
        margin-right: 20px;
    }

    .search-wrap {
        width: 488px;
        height: 64px;
        background-color: #2b3743;
        box-shadow: 0 0px 4px 4px rgba(1, 1, 1, .1);
        border-radius: 5px;
        padding-left: 30px;
        margin-bottom: 20px;

        .search-icon {
            width: 18px;
            height: 17px;
        }

        .search-input {
            margin-left: 24px;
            color: #FFFFFF;

            &::-webkit-input-placeholder {
                color: #eaeaea;
            }
        }
    }

    .search-wrap-selecter {
        width: 288px;
        height: 64px;
        background-color: #2b3743;
        box-shadow: 0 0px 4px 4px rgba(1, 1, 1, .1);
        border-radius: 5px;
        padding-left: 30px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        margin-bottom: 20px;
        z-index: 1000;

        .search-icon {
            width: 18px;
            height: 17px;
        }

        .search-input {
            margin-left: 24px;
            color: #FFFFFF;

            &::-webkit-input-placeholder {
                color: #eaeaea;
            }
        }
    }

    .selecter-top {
        color: #ddd;
        font-size: 14px;
        padding: 20px 120px;
        display: flex;
        justify-content: flex-start;
        text-align: left;
        padding-left: 0;
    }

    .selecter-pop {
        position: absolute;
        width: 288px;
        top: 68px;
        left: 0;
        border-radius: 5px;
        background-color: #2b3743;
        box-shadow: 0 0px 4px 4px rgba(1, 1, 1, .1);
        padding: 20px 5px;
        z-index: 100;
    }

    .selecter-pop-item {
        color: #bbb;
        line-height: 42px;
        padding-left: 30px;

    }

    .flag-list {
        margin-top: 24px;

        .flag-item {
            width: 266px;
            height: 370px;
            background-color: #2b3743;
            border-radius: 5px;
            box-shadow: 0 0px 4px 4px rgba(1, 1, 1, .1);
            margin-bottom: 75px;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;

            .flag-img {
                width: 100%;
                // height: auto;
                height: 177px;
            }

            .flag-info {
                padding: 32px 26px 40px;
                padding-bottom: 0;

                .flag-name {
                    font-weight: bold;
                    font-size: 18px;
                    margin-bottom: 20px;
                }

                .flag-desc {
                    font-size: 14px;
                    margin-bottom: 10px;

                    & > span {
                        color: #ddd;
                    }
                }
            }
        }

        .flag-item-block {
            width: 266px;
        }
    }

    .selecter_mask {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0);
        z-index: 99;
    }

    .btn-search {
        cursor: pointer;
    }

}


.home-page.light {
    background-color: #fafafa;
    color: #333;

    .header {
        background-color: #ffffff;
    }

    .search-wrap {
        background-color: #FFFFFF;

        .search-input {
            color: #333;

            &::-webkit-input-placeholder {
                color: #999;
            }
        }
    }

    .search-wrap-selecter {
        background-color: #FFFFFF;

        .selecter-top {
            color: #888;
        }
    }

    .selecter-pop {
        background-color: #fff;
        box-shadow: 0 0px 4px 4px rgba(1, 1, 1, .1);
    }

    .selecter-pop-item {
        color: #888;

    }

    .flag-list {
        .flag-item {
            background-color: #FFFFFF;

            .flag-info {
                color: #333;

                .flag-desc {
                    & > span {
                        color: #777;
                    }
                }
            }
        }
    }
}


@media screen and (max-width: 585px) {
    .home-page {
        .search-wrap {
            width: 100%;
        }

        .flag-list {
            .flag-item {
                width: 75%;
                margin: 0 auto;
                margin-bottom: 20px;
            }

            .flag-item-block {
                width: 100%;
            }
        }
    }
}
